

from rest_framework.viewsets import ModelViewSet
from goods.models import SPUSpecification
from meiduo_admin.serializers.spec_serializers import *
from meiduo_admin.custom_page import MyPage

class SpecModelViewSet(ModelViewSet):
    queryset = SPUSpecification.objects.all()
    serializer_class = SpecDetailModelSerializer
    pagination_class = MyPage